package com.seuic.hnapps.util;

import com.google.gson.Gson;
import com.seuic.hnapps.bean.Pass_word_bean;
import com.seuic.hnapps.bean.Sign_in_Bean;
import com.zhy.http.okhttp.callback.Callback;

import okhttp3.Call;
import okhttp3.Response;

public abstract class Pass_word_Callback extends Callback<Pass_word_bean> {
    @Override
    public Pass_word_bean parseNetworkResponse(Response response, int id) throws Exception {
        Pass_word_bean inBean=new Gson().fromJson(response.body().string(),Pass_word_bean.class);
        return inBean;
    }

    @Override
    public void onError(Call call, Response response, Exception e, int id) {

    }

    @Override
    public void onResponse(Pass_word_bean response, int id) {

    }
}
